package cn.iocoder.yudao.module.dr.controller.admin.sourcecatalog.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 资源编目分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SourceCatalogPageReqVO extends PageParam {

    @Schema(description = "资源主键", example = "27535")
    private Long sourceId;

    @Schema(description = "作者名称", example = "王五")
    private String authorName;

    @Schema(description = "其他贡献者", example = "王五")
    private String contributeName;

    @Schema(description = "生平简介")
    private String authorDesc;

    @Schema(description = "资源标签")
    private String catalogTags;

    // 新增字段用于接收分割后的标签列表
    private List<String> catalogTagList;

    @Schema(description = "主体分类")
    private String catalogClassify;

    @Schema(description = "资源描述")
    private String catalogDesc;

    @Schema(description = "存放位置")
    private String catalogStore;

    @Schema(description = "网络连接", example = "https://www.iocoder.cn")
    private String webUrl;


    @Schema(description = "参考书目附件")
    private String attach;

    @Schema(description = "参考说明")
    private String lookUp;

    @Schema(description = "申请状态")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "1 工作库 2 资源库 3 回收库")
    private String sourceTypes;



    @Schema(description = "资源名称", example = "芋艿")
    private String sourceName;

    @Schema(description = "资源编号")
    private String sourceCode;

    @Schema(description = "资源类型", example = "1")
    private String sourceType;

    @Schema(description = "来源信息")
    private String sourceDesc;

    @Schema(description = "文件路径")
    private String file;

    @Schema(description = "来源")
    private String sourceFrom;

    @Schema(description = "资源状态")
    private Integer sourceStatus;



}